<div style="width: 100%">
    <el-row style="margin-top: 5px;margin-bottom: 5px;">
        <el-col :span="2">
            <el-button size="mini" type="primary" @click="batchCreateTag">批量创建tag</el-button>
        </el-col>
        <el-col :span="4">
            <el-input v-model="update.branch" name="branch" />
        </el-col>
        <el-col :span="4">
            <el-input v-model="update.tag" name="tag"/>
        </el-col>
    </el-row>
    <el-row>
        <el-col :span="24">
            <el-table :data="config.repositoryList" style="width: 100%" border="true" stripe="true">
                <el-table-column label="仓库名称" align="center" prop="name"/>
                <el-table-column align="center" label="操作">
                    <template slot-scope="scope">
                        <el-button size="mini" type="primary" @click="createTag(scope.$index, scope.row)">创建Tag</el-button>
                        <el-button size="mini" type="primary" @click="getTagList(scope.$index, scope.row)">查看Tag列表</el-button>
                    </template>
                </el-table-column>
            </el-table>
            <el-dialog title="tag列表" :visible.sync="showTagList">
                <el-table :data="tagList" style="width: 100%" border="true" stripe="true">
                    <el-table-column label="tag" align="center" prop="name"/>
                    <el-table-column align="center" label="操作">
                        <template slot-scope="scope">
                            <el-button size="mini" type="danger" @click="delTag(scope.$index, scope.row)">删除</el-button>
                        </template>
                    </el-table-column>
                </el-table>
                <div slot="footer" class="dialog-footer">
                    <el-button @click="showTagList = false">关 闭</el-button>
                </div>
            </el-dialog>
        </el-col>
    </el-row>
</div>